package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 电能质量
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2025-03-26 14:47:07
 */
@TableName("diannengzhiliang")
public class DiannengzhiliangEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public DiannengzhiliangEntity() {
		
	}
	
	public DiannengzhiliangEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 设备
	 */
					
	private String shebeimingcheng;
	
	/**
	 * 电压
	 */
					
	private Double dianya;
	
	/**
	 * 频率
	 */
					
	private Double pinlv;
	
	/**
	 * 电流
	 */
					
	private Double dianliu;
	
	/**
	 * 功率因数
	 */
					
	private Double gonglvyinshu;
	
	/**
	 * 谐波含量
	 */
					
	private Double xiebohanliang;
	
	/**
	 * 电压不平衡度
	 */
					
	private Double dianyabupinghengdu;
	
	/**
	 * 有功功率
	 */
					
	private Double yougonggonglv;
	
	/**
	 * 姓名
	 */
					
	private String xingming;
	
	/**
	 * 工号
	 */
					
	private String gonghao;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：设备
	 */
	public void setShebeimingcheng(String shebeimingcheng) {
		this.shebeimingcheng = shebeimingcheng;
	}
	/**
	 * 获取：设备
	 */
	public String getShebeimingcheng() {
		return shebeimingcheng;
	}
	/**
	 * 设置：电压
	 */
	public void setDianya(Double dianya) {
		this.dianya = dianya;
	}
	/**
	 * 获取：电压
	 */
	public Double getDianya() {
		return dianya;
	}
	/**
	 * 设置：频率
	 */
	public void setPinlv(Double pinlv) {
		this.pinlv = pinlv;
	}
	/**
	 * 获取：频率
	 */
	public Double getPinlv() {
		return pinlv;
	}
	/**
	 * 设置：电流
	 */
	public void setDianliu(Double dianliu) {
		this.dianliu = dianliu;
	}
	/**
	 * 获取：电流
	 */
	public Double getDianliu() {
		return dianliu;
	}
	/**
	 * 设置：功率因数
	 */
	public void setGonglvyinshu(Double gonglvyinshu) {
		this.gonglvyinshu = gonglvyinshu;
	}
	/**
	 * 获取：功率因数
	 */
	public Double getGonglvyinshu() {
		return gonglvyinshu;
	}
	/**
	 * 设置：谐波含量
	 */
	public void setXiebohanliang(Double xiebohanliang) {
		this.xiebohanliang = xiebohanliang;
	}
	/**
	 * 获取：谐波含量
	 */
	public Double getXiebohanliang() {
		return xiebohanliang;
	}
	/**
	 * 设置：电压不平衡度
	 */
	public void setDianyabupinghengdu(Double dianyabupinghengdu) {
		this.dianyabupinghengdu = dianyabupinghengdu;
	}
	/**
	 * 获取：电压不平衡度
	 */
	public Double getDianyabupinghengdu() {
		return dianyabupinghengdu;
	}
	/**
	 * 设置：有功功率
	 */
	public void setYougonggonglv(Double yougonggonglv) {
		this.yougonggonglv = yougonggonglv;
	}
	/**
	 * 获取：有功功率
	 */
	public Double getYougonggonglv() {
		return yougonggonglv;
	}
	/**
	 * 设置：姓名
	 */
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	/**
	 * 获取：姓名
	 */
	public String getXingming() {
		return xingming;
	}
	/**
	 * 设置：工号
	 */
	public void setGonghao(String gonghao) {
		this.gonghao = gonghao;
	}
	/**
	 * 获取：工号
	 */
	public String getGonghao() {
		return gonghao;
	}

}
